
<!DOCTYPE HTML><head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="format-detection" content="telephone=no" />
	<title>曹全碑全文精讲视频版</title>
    <meta content="“墨点课堂”隶属于墨点旗下在线书画学习平台，公司积累了20多年字帖出版资源，致力于为用户提供专业的书画学习及教育服务，弘扬中国传统文化！一流的师资力量，精心的课程研发，采用在线互动教学形式，实现了APP内教学、服务一体化运营。" name="keywords">
    <meta content="“墨点课堂”隶属于墨点旗下在线书画学习平台，公司积累了20多年字帖出版资源，致力于为用户提供专业的书画学习及教育服务，弘扬中国传统文化！一流的师资力量，精心的课程研发，采用在线互动教学形式，实现了APP内教学、服务一体化运营。" name="description">
	<meta name="viewport" content="user-scalable=no, initial-scale=1.0, maximum-scale=1.0 minimal-ui"/>
	<meta name="apple-mobile-web-app-capable" content="yes"/>
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	
    <link href="../css/reset.css" rel="stylesheet">
    <link href="../css/public.css" rel="stylesheet">
    <link href="../css/style.css" rel="stylesheet">
	<link href="../icon/iconfont.css" rel="stylesheet">
    <link rel="stylesheet" href="../js/layer/need/layer.css">
    <link rel="stylesheet" type="text/css" href="/icon/iconfont-v4.css">
    <link rel="stylesheet" type="text/css" href="/icon/eduline-icon.css">
			<style>
			@font-face {font-family: 'iconfontNEW';src: url('https://www.modianketang.com/addons/theme/stv1/_static/icon/iconfontNEW.woff?v={$site.sys_version}');}
			.iconfontNEW{font-family: iconfontNEW;}
		</style>
	    <link rel="shortcut icon" href="../assets/images/logo.png" type="image/x-icon">
	
	<script>
		//全局变量
		var SITE_URL  = 'https://www.modianketang.com';
		var UPLOAD_URL= 'https://www.modianketang.com/data/upload';
		var THEME_URL = 'https://www.modianketang.com/addons/theme/stv1/_static';
		var APPNAME   = 'course';
		var MID		  = parseInt('495341');
		var UID		  = '495341';
		var initNums  =  '140';
		var SYS_VERSION = '20180814';
		var _ROOT_    = 'https://www.modianketang.com';/^\d{15,17}$/
		// Js语言变量
		var LANG = new Array();
		//注册登录模板
		var REG_LOGIN="https://www.modianketang.com/index.php?app=basic&mod=Passport&act=regLogin";
		//邮箱验证地址
		var CLICK_EMIL="https://www.modianketang.com/index.php?app=basic&mod=Passport&act=clickEmail";
		//异步注册地址
		var REG_ADDRESS="https://www.modianketang.com/index.php?app=basic&mod=Passport&act=ajaxReg";
		//异步登录
		var LOGIN_ADDRESS="https://www.modianketang.com/index.php?app=basic&mod=Passport&act=ajaxLogin";
		//退出登录
		var LOGINOUT_ADDRESS="https://www.modianketang.com/index.php?app=basic&mod=Passport&act=logout";
		//手机号正则
        var PHONE_MATCH = /^1[3|4|5|6|7|8|9][0-9]\d{8}$/;
        //邮箱正则
        var EMAIL_MATCH = /([\w\-\.]+\@[\w\-\.]+\.[\w\-\.]+)/;
    </script>
    <script src="../js/jquery-1.8.3.min.js" charset="utf-8"></script>
    <script src="../js/core.js" charset="utf-8" ></script>
    <script src="../js/header_footer.js" charset="utf-8"></script>
    <script src="../js/index.js" charset="utf-8"></script>
    <script src="../js/layer/layer.js" charset="utf-8"></script>
    <script src="../js/ui.layer_w3g.js" charset="utf-8"></script>

</head>
<body>

	<!--preloader-->
	<div id="preloader">
		<div id="status">
			<p class="center-text">
				数据加载中...
				<em>加载速度取决于你的网络情况</em>
			</p>
		</div>
	</div>
	<!--header-->

<!--<iframe src="https://www.modianketang.com/addons/theme/stv1/_static/_header_w3g.html" style="width:100%;z-index:1000000"></iframe>-->
<script>
    if(navigator.userAgent.match(/(iPhone|Android|ios)/i)) {
        $(window).load(function () {
            $('.modular,.logos,.window-box').show();
            $('.users').attr('style','display:block');
        });
    }
    $(window).ready(function(){
        $(".dic-box:last").css("border-bottom","none");
    });
    /**
     * 退出成功
     */
    function logout(){
        var app = "";
        $.ajax({
            type: "POST",
            async:false,
            url:LOGINOUT_ADDRESS,
            dataType:"json",
            success:function(data){
                ui.success("退出成功！");
                if(app == '1'){
                    location.href = "./login.html";
                }else{
                    location.reload();
                }

            }
        });
    }
</script>

<div class="win hide"></div>
<header>
 <a href="/" class="a_box">
    <img src="../assets/images/header.png" alt="logo"></a>
 <!-- <i class="icon icon-search"></i> -->
 <div class="users">
     <img src="https://www.modianketang.com/data/upload/avatar/c2/d1/fd/original_200_200.jpg?v1668146708" width="30" height="30">
         <!--登录后显示-->
         <span>
             <i class="icon icon-shang1"></i>
             <!-- <a href="https://www.modianketang.com/user/index/495341.html">我的主页</a> -->
             <a href="https://www.modianketang.com/my/index.html">个人中心</a>
             <a href="javascript:;" onclick="logout()">退出</a>
         </span>
          </div>
 <a href="https://www.modianketang.com/index.php?app=classroom&mod=Index&act=search" class="fill-in"><i class="icon icon-search"></i></a>
</header>
<div class="clear"></div>

<style>
    .wxnotebox{
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.8);
        z-index: 999999;
    }
    .wxnotebox .box_content{
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        background-color: white;
        width: 80%;
        border-radius: 10px;
        text-align: center;
        padding-bottom: 10px;
    }
    .wxnotebox .box_content>div{
        left: 0;
        width: 100%;
        padding-bottom: 5px;
    }
    .wxnotebox .box_content .box_top img{
        display: inline-block;
        background-color: #fe8206;
        margin-top: 10%;
        border-radius: 5px;
        width: 50px;
        height: 50px;
    }
    .wxnotebox .box_content .box_top p{
        width: 80%;
        margin: 0 auto;
        text-align: left;
        padding-top: 20px;
        font-size: 16px;
    }
    .box_bottom{
        top: 50%;
        border-top: 1px dashed #fe8206
    }
    .wxnotebox .box_content div .twoma{
        width: 140px;
        height: 140px;
        position: relative;
        left: 0;
        top: 0;
        margin: 0 auto;
        padding: 10px;
        margin-top: 10%;
    }
    .box_bottom p{
        width: 150px;
        height: 40px;
        line-height: 40px;
        text-align: center;
        border-radius: 20px;
        margin: 0 auto;
        color: white;
        background-color: #fe8206;
        font-size: 14px;
        margin-top:5%;
    }
    .horn{
    position: absolute;
    width: 87.8%;
    height: 87.8%;
    border:1px dashed #fe8206;
  }
  .horn>div{
    width: 10px;
    height: 10px;
    position:absolute;
  }
  .horn .lt{
    border-top: 3px solid #fe8206;
    border-left: 3px solid #fe8206;
    left: -2px;
    top: -2px;
  }
  .horn .rt{
    border-top: 3px solid #fe8206;
    border-right: 3px solid #fe8206;
    right: -2px;
    top: -2px;
  }
  .horn .rb{
    border-bottom:3px solid #fe8206;
    border-right: 3px solid #fe8206;
    right: -2px;
    bottom: -2px;
  }
  .horn .lb{
    border-bottom:3px solid #fe8206;
    border-left: 3px solid #fe8206;
    left: -2px;
    bottom: -2px;
  }
  #qrcode{
      padding: 10px;
  }
  .box_top a.btn{
        color: #fff;
        font-size: 16px;
        width: 30%;
        margin: 0 auto;
        background-color: #00bed4;
        border-radius: 4px;
        line-height: 35px;
    }
</style>

<div class="wxnotebox" style="display: none;">
    <div class="box_content">
        <div class="box_top">
            <p>您的默认密码为：123456。请尽快修改新密码</p>
            <a href="javascript:;" class="btn" id="wx_changepsw">确定</a>
        </div>
    </div>
</div>

<script src="../assets/qrcode/qrcode.min.js"></script>
<script type="text/javascript">
    $(function () {
        //定时显示关注公众号
        /*var wx_follow = '';
        if(wx_follow == 1){
            setTimeout(function(){
                var qrcode = new QRCode(document.getElementById("qrcode"),"http://weixin.qq.com/r/8jsAGIrEcNcPrc57927g");
                $(".maskbox").css('display','block');
            },5000);
        }*/
        var wx_note = '';
        if(wx_note == 1){
            $(".wxnotebox").css('display','block');
        };

        $("#wx_changepsw").click(function(){
            $.post(U("home/User/clearwx"),{},function(data){
                window.location.href = U('home/User/changepsw');},'json');
        });
    })

    if(navigator.userAgent.match(/(iPhone|Android|ios)/i)) {
        $(window).load(function () {
            $('.modular,.logos,.window-box').show();
        });
    }

    $(".modular").on("click",function(){
        $(".win").show();
        $(".window-box").animate({marginLeft:"0"});
        var dis = $(".win").css('display');
        if(dis == 'block'){
            $("body").css("overflow-y","hidden");
        }
    });

    $(".win").on("click",function(){
        $(".window-box").animate({marginLeft:'-70%'});
        $(".win").hide();
        var dis = $(".win").css('display');
        if(dis == 'none'){
            $("body").css("overflow-y","visible");
        }
    });
      function show_list(obj){
        if ($(obj).siblings('.course-class').css("display")=="none") {
              $(obj).siblings('.course-class').show();
        }
        else {
            $(obj).siblings('.course-class').hide();
        }

      };
</script>
<script type="text/javascript" src="../js/jquery.lazyload.min.js"></script>
<script type="text/javascript">
    $(function () {
        // 初始化
        $("img.lazyload").lazyload({
            effect: "fadeIn",
            placeholder: "../static/images/loading_image.png",
            threshold: 100,
        });
    });
</script>
<link href="https://cdn.bootcss.com/Swiper/4.5.0/css/swiper.min.css" rel="stylesheet">
<script src="https://cdn.bootcss.com/Swiper/4.5.0/js/swiper.min.js"></script>
<link rel="stylesheet" href="../css/video_view_3g.css">
<script src="../js/clipboard.min.js"></script>
<!--content start-->

<!-- 分享好友助力 start -->

<!-- 助力 -->

<!-- 砍价 -->


<script type="text/javascript">
	var swiper = new Swiper('.get-friend-box .swiper-container', {
		noSwiping: false,
		noSwipingSelector: 'div',
		observer: true,
		observeParents: true,
	});
	var swiper = new Swiper('.get-mon-box .swiper-container', {
		noSwiping: false,
		noSwipingSelector: 'div',
		observer: true,
		observeParents: true,
	});
</script>



<div class="body"> 
    <div class="classtop">
        <div class="img-box">
           
        </div>
        
            <div class="info">
            <div class="newbanben">
                <div class="title">
                    <p class="newbb-title">曹全碑全文精讲视频版</p>
                </div>
								
                <div class="newbanben-info">
                    <p class="newbb-renshu">
                        <span>373</span>人在学
                    </p>
                     <p class="newbanben-price">￥30</p>
                        <form action="https://www.modianketang.com/pay/[vst].html" method="POST" id="pay_form">
                            <input type="hidden" value="299" name="vid" />
                            <input type="hidden" value="zy_video" name="check_type" />
                            <input type="hidden" value="课程：曹全碑全文精讲视频版" name="title" />
                            <input type="hidden" id="money" value="30" name="money" />
                        </form>
                        <a href="javascript:void(0);" id="charge_video"  class="chargebuy" ><span>立即购买</span></a>
                </div>
            </div>

            <div style="background-color:rgba(246,247,247,1);width:100%;height:10px;"></div>

           
        </div>
    </div>
</div>

<div class="classbot">
    <div class="classmain-hd classmain-ul">
        <ul>
            <li class="choose on"><a href="javascript:;">目录</a></li>
            <li class="choose"><a href="javascript:;">简介</a></li>
            </ul>
    </div>
    <!--课程目录-->
    <div class="classmain-bd videoInfo">
        <div class="classmain_con" id="section_content">
                      
        </div>
    </div>
    <div class="classmain-bd videoInfo" style="display: none;padding:0;">
        <div class="classmain_con">
            <div class="classitem">
                <div class="classcon max-text" style="font-size: 12px;">
                    <p style="text-align: center;"><img class="lazy_load_img" src="../assets/images/loading_image.png"   alt="未标题-2.jpg"/></p>                </div>
                <a class='clickzk' onclick='clickzk(this)' href='javascript:;'>展开</a>
                <script>
                    if ($(".classitem .max-text").height() >= 200) {
                        $(".classitem .max-text").height("200px")
                        $(".clickzk").show()
                    }

                    function clickzk(a) {
                        if ($(a).text() == "展开") {
                            $(a).text("收起");
                            $(".classitem .max-text").height("auto")
                        } else {
                            $(a).text("展开");
                            $(".classitem .max-text").height("200px")
                        }
                    }
                </script>
            </div>
            <hr>
                        <div class="classitem ">
                <div class="classtit">讲师</div>
                <li class="classcon">
                    <div class="jiangShi">
                        <a href="https://www.modianketang.com/teacher/90.html">
                            <img class="jiangShi-img" src="https://www.modianketang.com/data/upload/2023/0814/17/64d9f0f358227_200_200_200_200.jpg" alt="" />
                            <p>谢学海</p>
                        </a>
                    </div>
                    
                    <div class="class_js_txt">
                        <!-- <div class="arrow_up"></div>-->
                        <p>谢学海，青年书法家，书法文化自媒体博主。本科毕业于江苏师范大学书法，硕士毕业于中国艺术研究院书法专业。习书二十载，少年时曾被誉为“曹全王子”。多年从事书法教学，...</p>
                        <i style="display: none">
                            <p>谢学海，青年书法家，书法文化自媒体博主。本科毕业于江苏师范大学书法，硕士毕业于中国艺术研究院书法专业。习书二十载，少年时曾被誉为“曹全王子”。多年从事书法教学，多次在书法大赛获得专业奖项。秉持“以书法之美，释汉字之源”的理念，在短视频平台传播书法文化，粉丝近三十万。</p>                            <!--谢学海，青年书法家，书法文化自媒体博主。本科毕业于江苏师范大学书法，硕士毕业于中国艺术研究院书法专业。习书二十载，少年时曾被誉为“曹全王子”。多年从事书法教学，多次在书法大赛获得专业奖项。秉持“以书法之美，释汉字之源”的理念，在短视频平台传播书法文化，粉丝近三十万。-->
                        </i>
                    </div>
                    <script>
                        var textnew = $(".class_js_txt i").html();
                        var text = $($(".class_js_txt p")[0]).text();
                        var html = "<a href='javascript:;'>展开</a>";
                        var html2 = "<a href='javascript:;'>收起</a>";
                        if ($(".class_js_txt p").text().length > 70) {
                            $(".class_js_txt p").html($(".class_js_txt p").html() + html)
                        }
                        $(".classitem").on("click", ".class_js_txt p a", function () {
                            if ($(".class_js_txt p a").html() == "展开") {
                                $(".class_js_txt p").html(textnew + html2)
                            } else {
                                $(".class_js_txt p").html(text + html)
                            }
                        })
                    </script>
            </div>
                        <hr>
        </div>
    </div>


        <style media="screen">
    .indo-mess .big{overflow: hidden;}
    .indo-mess .big div{float: left;}
    #video_comment,#video_note,#video_question{display:none;padding-bottom: 30px;}
    .star{color:#888;}
    .star small{font-size:18px;color:#ff9000;margin-right: 10px;}
    .big .star{margin:0 20px;color:#666768;font-size:16px;}
    .star span{
        font-size: 18px;}
    .star span.no{background-position:-127px -218px;}
    .big .star span{margin:-2px 2px 0;width:25px;height:23px;background-position:-13px -214px;}
    .big .star span.no{background-position:-63px -214px;}
    .big{overflow:hidden;margin:20px 0 0; font-size:14px;/* border-bottom: 1px solid #eee; */}
    .big div{float:left;}
    .back a.edit {font-size: 15px;line-height: 20px;margin-right: 10px;}
    .back .icon-note{margin-right: 3px;width: 17px;height: 22px;}
    .indo-mess,.big,.review_con{margin: 0 10px;}
    .icon-zan{margin-right:3px;width:12px;height:24px;background: none;padding-left: 10px;
        -webkit-transform: translateY(-2px);
        -moz-transform: translateY(-2px);
        -ms-transform: translateY(-2px);
        -o-transform: translateY(-2px);
        transform: translateY(-2px);}
    .review_con{width: 100%;margin: auto;overflow: hidden;}
    .classmain_con{margin-top: 20px;}
    .teacher-dp{overflow:hidden;padding-left:45px;min-height:85px;font-size:14px;line-height:24px;}
    .teacher-dp dt{position:absolute;overflow:hidden;margin-left:-48px;width:75px;}
    .teacher-dp .pic{overflow:hidden;width:40px;height:40px;border-radius:50%;}
    .teacher-dp .name a{color:#333;line-height: 14px;}
    .teacher-dp dd{padding-bottom:20px;}
    .teacher-dp dd .tit{overflow:hidden;margin: 2px 0 0;line-height: 14px;}
    .teacher-dp dd .tit .name{float: left;margin-right: 10px;}
    .teacher-dp dd .star{float:left;margin:2px 20px 0 0;}
    .teacher-dp dd .txt{color:#656565;word-wrap: break-word;}
    .icon-pl{float: left;margin-right:3px;width:17px;height:22px;background: none;}
    .teacher-dp dd .replymegfooter{width: 96%;margin-top: 8px;}
    .videoInfo{padding: 0 10px;}
    #star_ul{margin-right: 10px;}
    /*.star span{background-image:url('https://www.modianketang.com/addons/theme/stv1/_static/icon/icon.png');display: inline-block;vertical-align: middle;}*/
    .wenda-time,.keyword-list{float:left;color: #888}
    .qa-comment-addon-r { float: right; }
    .qa-reply-iwrap .qa-reply-iarea textarea {margin-bottom: 10px;width:100%;border: 1px solid #e3e5e5;  padding:0 7px;  resize: none;height: 40px;line-height: 40px; font-size: 12px;  background-color: #fff;}
    .qa-total-reply {  margin-right: 10px;  cursor: pointer;}
    .qa-ci-wrap{ width:100%; background:none;color:#999999; font-size:12px;}
    .video-review .reply-star{ width:100%; float:left;line-height: 30px}
    .form-label{float:left;padding-right:5px;text-align:right;font-weight:400;}
    .form-checkbox,.form-label,.form-radio,.form-static{padding:6px 0;line-height:1.57142857;}
    .star_ul li{float: left;
        padding: 0 3px;}
    .grade-back-set{color: #FCAC00;}
    .grade-back-default{color: #888888;}
    .color_hui{color:#999}
    .qa-ci-iarea{border: 1px solid #eeeeee;width:97.5%;margin:10px 0; border-radius: 4px;height:80px; padding:1%; color:#888; font-size:14px}
    .quesdetail .qa-ci-iarea{ padding: 12px 13px; width: 746px;vertical-align: middle;background:none; border:#eeeeee 1px solid; color:#999999; font-size:12px; margin:0;}
    .qa-ci-wrap{ width:100%; background:none;color:#999999; font-size:12px;}
    .qa-reply-footright { width: 163px;margin-top: 10px;margin: 0 auto;}
    .qa-reply-c {  position: relative; background: #f7f7f7;}
    .qa-reply-c:last-child{border:0;}
    .qa-reply-loading {  position: absolute;  top: -30px;  left: 50%;  margin-left: -20px;  text-align: center;}
    .qa-reply-item {position: relative;border-bottom: 1px solid #e3e5e5;overflow: hidden;}
    .qa-reply-item:last-child{border-bottom:0}
    .qa-reply-item-author img {border-radius: 50%;}
    .qa-reply-item-inner {  font-size: 12px;  padding: 7px 0px;float: left;margin-left: 10px;}
    .q-reply-item-c {  color: #656565;  font-size: 12px;  line-height: 1.7em;  padding-top: 3px;  word-break: break-all;  word-wrap: break-word;  overflow: hidden;}
    .user-reply { font-weight:bold; color:#65addd;}
    .wenda-listcon {margin: 0 0 20px;overflow: hidden; width:100%; float:left;border-bottom: solid 1px #ebebeb;}
    .qa-tips {  font-size: 12px;  line-height: 29px;  color: #666;}
    .qa-tips-error {  background: url(/static/img/wenda-sprite.png?1) no-repeat -5px -182px;  padding-left: 16px;}
    .qa-tips-ok {  background: url(/static/img/wenda-sprite.png?1) no-repeat -5px -158px;  color: #3ab94e;  padding-left: 16px;}
    .btn-mc-light {background-color: #AAAAAA;  border: 1px solid #fff;  display: inline-block;  margin-right:5px;line-height:28px;padding: 0 23px;  text-align: center;  cursor: pointer;  font-size: 12px; border-radius: 3px; color: #fff;  *overflow: visible;  /*IE 7 button width bug fixed*/
        *display: inline;  /* IE7 inline-block hack */  *zoom: 1;  transition: border-color 0.25s;  -webkit-transition: border-color 0.25s;  -moz-transition: border-color 0.25s;  -o-transition: border-color 0.25s;}
    .btn-mini{cursor:pointer; background: #00BED4;border:none;color: #ffffff;font-size: 12px; line-height:28px; padding:0 23px;border-radius: 3px;}
    .classmain-bd form{border: none!important;}
    #dpmsg{display: block;margin-top: 46px}
    .qa-replies {margin-bottom: -1px;width: 100%;overflow: hidden;}
    .qa-replies .wenda-listcon{background-color: #f7f7f7;padding: 0 14px;}
    .qa-replies .teacher-dp{margin-left:-10px;margin-top: 10px;padding-bottom: 0}
    .qa-replies .teacher-dp .name a{color:#00BED4;}
    .qa-replies .pic{width:26px;height: 26px;}
    .qa-replies .tit{margin: 10px 0 8px;margin-top: 13px;}
    .qa-replies dt{margin-left:-35px;}
    .qa-replies .teacher-dp dd .star {margin: 0px 20px 0 0}
    .qa-reply-nick {  font-size: 12px;}
    .qa-reply-nick:link,.qa-reply-nick:visited {color: #2388C0;display: inline-block;}
    .qa-reply-nick:hover {  text-decoration: underline;}
    .qa-reply-item-author {width:26px;height: 26px;line-height: 1em;float: left;padding-top: 5px;margin-left: 5px;}
    .qa-reply-item-foot {  color: #888;  font-size: 12px;margin-top: 8px;}
    .sabrosus {color: #999999;float: left;line-height:normal;overflow: hidden;text-align: center;width: 100%;}
    .sabrosus a{display: inline-block;margin: 0 5px;}
    .space-visitors li { height: 40px;margin: 15px 0 20px;padding: 0 0 0 50px;position: relative;}
    .space-visitors .avatar {border-radius: 20px;display: block; height: 40px;left: 0;overflow: hidden;position: absolute;top: 0;width: 40px;}
    .space-visitors .nickname { position: relative;top: -4px; margin:0;}
    .space-visitors li p { font-size: 12px;height: 14px;line-height: 14px; margin-top: -5px;}
    .space-visitors { padding: 15px 20px 10px 20px;}
    img {max-width: 100%;height: auto;}
    .red{
        color: #FCAC00;
    }
</style>
<div class="indo-mess"></div>



<script type="text/javascript">
    var review_kztype = '1';//数据分类 1:课程;2:套餐3;线下课;
    var review_kzid   = '299';//课程或者套餐ID
    var review_type   = '2';//分类类型 1:提问,2:点评,3:笔记
    var review_page   = 0;       //当前分页
    var review_uid    = '495341';
    var review_limit  = 10;
    var id = '495341';
    var type = '课程';
    startype = 'all';

    //点赞
   
    //取消点赞
    
    $(function(){
        
        //星星评分
      

        //分页操作
        $('.video-review').on('click','.reviewPage a',function(){
            var p = $(this).attr('p');
            if(typeof(p) == 'undefined') return false;
            getReview(p);
            return false;
        });
    });

    //写点评
  
    //提交点评
   
    

    //星星评分
   

    

    //提交评论
   
</script>
<!-- 点评结束 -->    </div>
</div>
<script type="text/javascript">
   //弹出方法
   function showMess(){
     var aTwotit=document.getElementsByClassName('two-tit');
    for (var i=0;i<aTwotit.length;i++){
        aTwotit[i].onclick=function () {
            var me=$(this);
            me.nextUntil("dt").toggle();
            me.children('.onedown').toggle();
        }
    }
   }
    if(""){
        var share_url = "";
    }else{
        var share_url = "https://www.modianketang.com/course/299.html?code=ldisZZUwjKhnguBsZ7USgN5r4xPrgfUk6ri9XJRWxMno8&mount_mhm_id=K9Jhi";
    }
    var login_fun = function () {
        var mhm_id = '';
        if (mhm_id) {
            window.location.href = "./login.html" + '?' + 'this_mhm_id' +
                '=' + mhm_id;
        } else {
            window.location.href = "./login.html";
        }
    }

    function payCourseHour() {
        if (uid <= 0) {
            ui.confirm('请先登录', {
                yes: login_fun()
            });
            return false;
        }
    }

    //解锁课时提示
    $(".learn_note").click(function(){
        ui.error('请先购买课程');
    });
    $(".learn_note2").click(function(){
        ui.error('请先学习上一课时');
    });
    //点击助力弹出框
    $('.friends-help').click(function(){
        $('.addclas').toggleClass('active')
    })

    //第三方分享
    $(".iconposition").click(function () {
        clipboard('.iconposition', share_url);
    });
    //更多显示隐藏
    $(".back_left .right_box .icon-gengduo1").click(function () {
        if ($(this).siblings(".share_box").is(":hidden")) {
            $(this).siblings(".share_box").show();
        } else {
            $(this).siblings(".share_box").hide();
        }
    })

    $(".class_directory dt").click(function () {
        if ($(this).siblings("dd").css("display") == "none") {
            $(this).siblings("dd").show();
            $(this).siblings(".lock_section").show()
        } else {
            $(this).siblings("dd").hide();
            $(this).siblings(".lock_section").hide()
        }
    })

    var uid = '495341';
    var mid = '495341';
    var albumId = '299';
    var arr = ['他妈的', '你妈的', '傻×', '衮蛋', '你妹儿'];

    //显示/隐藏 问题、笔记、点评输入框
   

    //显示评论
   
    //显示更多
  

    //@回复
   

    //点评前判断
   

    //处理显示评论
  

    //导航选择卡
    

    //购买操作
    $('#charge_video,.charge_video3').click(function () {
        if (uid <= 0) {
            ui.confirm('请先登录', {
                yes: function () {
                    var mhm_id = '';
                    if (mhm_id) {
                        window.location.href = "./login.html" + '?' + 'this_mhm_id' +
                            '=' + mhm_id;
                    } else {
                        window.location.href = "./login.html";
                    }
                }
            });
            return false;
        }

        var asb = $(this).data('asb');
        if(asb == 2){
            var asb_user = $(this).data('user');
            $("#transparent").hide();
            $(".asblist-dl").hide();
            $(".assemble-Cancel").hide();
        }

        var form = $('#pay_form');
        var vid = form.find('input:hidden[name="vid"]').val();
        var vtype = form.find('input:hidden[name="check_type"]').val();

        if (!vid || !vtype) {
            layer.open({
                content: '一个没有任何按钮的底部提示',
                skin: 'footer'
            });
            ui.error('参数错误');
            return false;
        }

        var rechange_base = parseFloat('');
        var money = form.find('input:hidden[name="money"]').val();

        if (money <= 0) {
            ui.confirm('该点播课程需要加入我的看单后方可学习，确定加入？', {
                yes: function () {
                    var form = $('#pay_form');
                    var vid = form.find('input:hidden[name="vid"]').val();
                    var vtype = form.find('input:hidden[name="check_type"]').val();

                    $.post(U("course/PayVideo/add_order"), {
                        vid: vid,
                        vtype: vtype
                    }, function (data) {
                        if (data.status == 1) {
                            $('.message_add_order_box').hide();
                            ui.success(data.info);
                            window.location.reload();
                        } else {
                            ui.error(data.info);
                            return false;
                        }
                    }, 'json');
                }
            });
            return false;
        }

        $.post(U("course/PayVideo/checkPay"), $('#pay_form').serialize(), function (data) {
            if (data.status == 1) {
                var url = '';
                var pay_url = "wFefiZCwd9W8yczQq0RvzWOpFUSt6";
                
                if(asb == 0){
                    url = "https://www.modianketang.com/pay/wFefiZCwd9W8yczQq0RvzWOpFUSt6.html";
                }else if(asb == 1){
                    url = "https://www.modianketang.com/pay/wFefiZCwd9W8yczQq0RvzWOpFUSt6.html";
                }else if(asb == 2){
                    url = SITE_URL + '/pay/' + pay_url + '.html?asb=' + asb_user;
                }else{
                    url = "https://www.modianketang.com/pay/wFefiZCwd9W8yczQq0RvzWOpFUSt6.html";
                }
                // console.log(asb,url);
                window.location.href = url;
            } else if (data.status == 9) {
                ui.error(data.info);
                window.location.reload();
            } else {
                ui.error(data.info);
                return false;
            }
        }, 'json');
    });
    // 点击好友助力判断是否登录
    function shijian1(){
        if (uid <= 0) {
            ui.confirm('请先登录', {
                yes: function () {
                    var mhm_id = '';
                    if (mhm_id) {
                        window.location.href = "./login.html" + '?' + 'this_mhm_id' +
                            '=' + mhm_id;
                    } else {
                        window.location.href = "./login.html";
                    }
                }
            });
            return false;
        }
    }     
    function shijian2(){
        console.log('HHH')
    } 
    function setFollow(uid, follow) {
        if (mid <= 0) {
            ui.confirm('请先登录', {
                yes: function () {
                    window.location.href = "./login.html";
                }
            });
            return false;
        }
        action = follow ? 'doFollowMhm' : 'unFollow';
        $.post(U('basic/Follow/' + action), {
            fid: uid
        }, function (data) {
            if (data.status) {
                ui.success('操作成功');
                setTimeout('window.location.reload()', 1000);
            } else {
                ui.error(data.info);
            }
        }, 'json');
    }

    //关注讲师
    function followyou(cate, uid, id) {

        if (mid <= 0) {
            ui.confirm('请先登录', {
                yes: function () {
                    window.location.href = "./login.html";
                }
            });
            return false;
        }
        $.ajax({
            type: "POST",
            url: "https://www.modianketang.com/index.php?app=classroom&mod=Public&act=followyou",
            data: "fid=" + uid + "&tid=" + id,
            dataType: "json",
            success: function (data) {
                if (data.status == '0') {
                    ui.error(data.info);
                    return;
                } else {
                    setTimeout('window.location.reload()', 1000);
                }
            }
        });
    }

    //收藏课程
    function collectVideo(cate, vid, type) {
        if (MID <= 0) {
            ui.confirm('请先登录', {
                yes: function () {
                    window.location.href = "./login.html";
                }
            });
            return false;
        }

        $.ajax({
            type: 'POST',
            url: "https://www.modianketang.com/index.php?app=classroom&mod=Public&act=collect",
            data: {
                type: type,
                sctype: 2,
                source_id: vid,
                is_video: 1
            },
            dataType: "json",
            cache: false,
            success: function (data) {
                if (data.status == '0') {
                    ui.error(data.info);
                } else {
                    ui.success(data.info);
                    window.location.reload();
                }
            },
        });
    }

    /*拼团弹出层*/
    function assemble(vip,type,rtype){
        $("#transparent").show();
        $(".asblist-dl").show();
        $(".assemble-Cancel").show();
    }
    function removeAssemble(){
        $("#transparent").hide();
        $(".asblist-dl").hide();
        $(".assemble-Cancel").hide();
    }

    $(function(){
       function getQueryString(){
            var reg = new RegExp("(^|&)id=([^&]*)(&|$)");
            var r = window.location.search.substr(1).match(reg);
            if (r != null) return unescape(r[2]);
            return null;
       }
       
        //获取链接中的id参数
        var id = getQueryString();
        //ajax请求获取数据
        /*
        *  <dl class="mulist">
                        <dt class="two-tit">
                            <span class="two-name">第1-50字（免费）</span>
                            <img src="../assets/images/h5down.png" alt="" class="onedown" style="display: none">
                            <img src="../assets/images/h5up.png" alt="" class="onedown">
                        </dt>
                        <dd class="three-tit">
                                <a href="https://www.modianketang.com/course/watch/299_9553.html">
                                    <p class="three-name">1君</p>
                                    <span class="flish-font">已学至00:00:08</span>
                                </a>
                        </dd>                                            
                </dl> 
        **
        */
        function getImgUrl(str){
			// 解码HTML实体  
            str = decodeURIComponent(str);  
            // 处理转义字符  
			str = str.replace(/\\u/g, ''); 
			// 提取图片URL  
			const imageURL = str.match(/src="(.*?)"/)[1];  
			return imageURL; 

		}
        //创建目录
        async function creatCatalogue(arr){
            let myHtml=""
            arr.forEach(async item=>{
                    myHtml=myHtml+`
                        <dl class="mulist">
                            <dt class="two-tit">
                                <span class="two-name">${item.title}</span>
                                <img src="../assets/images/h5down.png" alt="" class="onedown" style="display: none">
                                <img src="../assets/images/h5up.png" alt="" class="onedown">
                            </dt>
                                    ${item.list? item.list.map(_item=>{
                                        return `
                                         <dd  class="three-tit" style="display: none">
                                            <a href="../video_play.html?id=${_item.zyVideoSectionId}"> 
                                            <i class="ship ship-video"></i>
                                            ${_item.isFree==1?`<div class="mone"><p class="page1">免费</p></div>`:""}
                                              <p class="three-name">${_item.title}</p>
                                               ${_item.popupProblemTime!=="00:00:00"?`<span class="flish-font">已学至${_item.popupProblemTime}</span>`:""}
                                            </a>  
                                           
                                        </dd>
                                        `
                                            }).join(""):""}
                            
                        </dl>`
                            })
                        $("#section_content").html(myHtml) 
                        showMess() 
        }
        $.ajax({
            type: "GET",
            url: `http://192.168.200.132:17777/api/study/course/${id}/detail`,
            dataType: "json",
            success: function (res) {
                const {data}=res
               
                if(res.ret==0){
                    $(".img-box").append(`<img src="${data.cover_url}" alt="">`)
                    $(".newbb-title").text(data.videoTitle)
                    $(".newbb-renshu").text(data.viewNumsMark+"人在学")
                    if(data.tPrice){
                        $(".newbanben-price").text("￥"+data.tPrice)
                    }else{
                        $(".newbanben-price").text("免费")
                    }
                    $("#pay_form").html(`
                     <input type="hidden" value="${data.id}" name="vid" />
                            <input type="hidden" value="zy_video" name="check_type" />
                            <input type="hidden" value="${data.title}" name="title" />
                            <input type="hidden" id="money" value="${data.tPrice}" name="money" />
                    `)
                //获取章节的数据
                const {section}  = data
                creatCatalogue(section)
                const 
                }else{
                    ui.error(res.msg);
                   setTimeout(function(){
                     window.history.back();
                   },1000)
                }

            },
            error: function (e) {
                console.error(e)
                alert("网络错误");
            }
        });
        // 检查砍价
        if("0" !== "0"){
            $(".mask, .get-mon-box").show();
        }
    });
    // 砍价
    function showBargainList(){
        if(MID<=0){
            login_fun();
            return false;
        }
        $(".mask, .get-mon-box").show();
    }

    $(".mask").on('click', function(){
        if("0" === "0" || $(".kan-box-help").css('display') == 'flex'){
            $(".mask, .get-mon-box").hide();
        }
    });

    //邀请砍价
    $(".sharebargain").click(function () {
        var share_url = "https://www.modianketang.com/course/299.html?bgn=zXSzgIL7K";
        clipboard('.sharebargain', share_url);
    });
    // 分享方法
    var clipboard = function (e, url) {
        var clipboard = new Clipboard(e, {
            text: function () {
              return url;
            }
        });

        if (clipboard.text() != undefined && clipboard.text() != "") {
            ui.success('已复制链接，请打开QQ或微信发送给好友');
            $('.addclas').removeClass('active')
        } else {
            ui.error("复制失败，请手动复制");
            layer.open({
              title: [
                '长按复制链接',
                'background-color: #00cccd; color:#fff;'
              ],
              content: "<textarea id='textcopy' autofocus readonly='readonly' onfocus='this.select()'  style='width:100%;' type='text'>"+share_url+"</textarea>",
              btn:false
            });
            setTimeout(()=>{
                document.querySelector("#textcopy").onfocus()
            },200)
        }
    }
    // 为他砍价
    $(".bargaining").click(function () {
        if(MID<=0){
            $(".mask, .get-mon-box").hide();
            reg_login();
            return false;
        }
        var vid = "299",
        sponsor = "0";
        $.ajax({
            type      : 'POST',
            url       : "https://www.modianketang.com/index.php?app=course&mod=Video&act=bargaining",
            data      : {vid:vid,sponsor:sponsor, vtype:1},
            dataType  : "json",
            success   : function(data){
                if (data.status == 9) {
                    return false;
                } else if(data.status == 0) {
                    ui.error(data.info);
                    return false;
                } else if(data.status == 1) {
                    $(".bargain").css('display', 'none');
                    $(".get-mon-help").css('display', 'none');
                    $(".kan-box-help").css('display', 'flex');
                    $(".kan-box-help-name em").text(data.info);
                    setTimeout(function(){
                        window.location.href = data.url;
                    }, 1500);
                    return false;
                }
            },
        });
    });

    // 领取优惠券
    $(".coupons .disc").click(function(){
        if(MID == 0){
            ui.confirm('请先登录', {
                yes: function () {
                    var mhm_id='';
                    if(mhm_id){
                        window.location.href  = "./login.html"+'?'+'this_mhm_id'+'='+mhm_id;
                    }else{
                        window.location.href = "./login.html";
                    }
                }
            });
            return false;
        }
        var coupon_id = $(this).data('coupon-code');
        $.post(U('classroom/CardReceipt/saveUSerCoupon'),{coupon_id:coupon_id},function(data){
            if(data.status){
                ui.success(data.info,{
                    end:function(){
                        window.location.reload();
                    }
                });
            }else{
                ui.error(data.info);
            }
        },'json');
    })


    /*$(function(){
        var swiper = new Swiper('.friends-picss .swiper-container',{
            noSwiping : false
        });
    })*/
    var swiper = new Swiper('.friends-picss .swiper-container',{
        noSwiping : false,
        noSwipingSelector: '.swiper-slide',
        preventInteractionOnTransition : false
    });
    
</script>
<script type="text/javascript" src="https://www.modianketang.com/addons/theme/stv1/_static/js/lazyload.js"></script>

<!--footer-->

    <!--footer start-->
    <!-- <div class="footer">
        <b><a href="https://beian.miit.gov.cn/">Copyright© 2002-2019 武汉市新新图书有限公司 版权所有  |  鄂ICP备12005854号-4</a>

		 	<div style="width:300px;margin:0 auto; padding:20px 0;">
		 		<a target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=42011102004464" style="display:inline-block;text-decoration:none;height:20px;line-height:20px;"><img src="https://www.modianketang.com/addons/theme/stv1/_static/images/record.png" style="float:left;"/><p style="float:left;height:20px;line-height:20px;margin: 0px 0px 0px 5px; color:#939393;">鄂公网安备 42011102004464号</p></a>
		 	</div>
		 </b>
    </div> -->
    <nav class="nav_list">
        <ul>
            <li>
                <a href="/">
                <i class="icon icon-shouye"></i>
                <p>首页</p>
                </a>
            </li>
            <li>
                <a href="https://www.modianketang.com/course.html">                <i class="icon icon-shu"></i>
                <p>课程</p>
                </a>
            </li>
            <li>
                <a href="https://www.modianketang.com/find.html">
                <i class="icon icon-faxian"></i>
                <p>发现</p>
                </a>
            </li>
            <li>
                <a href="https://www.modianketang.com/my/index.html">
                                        <i class="icon icon-wode"></i>
                <p>我的</p>
                </a>
            </li>
        </ul>
    </nav>
    <!--footer end-->
    <script src="https://www.modianketang.com/online_check.php?uid=495341&uname=过期罐头&mod=Video&app=course&act=view&action=trace"></script>        <script src="https://www.modianketang.com/addons/theme/stv1/_static_w3g/js/script.js"></script>
    </body>
</html>